<script>
import Aside from '@/components/Aside'
import Header from '@/components/Header'
export default {
  name: 'index',
  components: {
    Aside,
    Header
  },
  data() {
    return {
      labelPosition: 'right',
      user: {
        username: '',
        userpass: '',
      },
      msg:''
    };
  },
}
</script>
<template>
  <div class="lay">
    <div class="layin">
      <img class="pic" src="./herder.png">
      <p>铁路12306后台管理</p>
    </div>
    <el-container>
      <el-aside width="200px">
        <el-row>
          <Aside/>
        </el-row>
      </el-aside>
      <el-container>
        <el-header>
          <Header/>
        </el-header>
        <el-main>
          <router-view/>
        </el-main>
      </el-container>
    </el-container>

  </div>

</template>

<style>
.el-header, .el-footer {
  background-color: #B3C0D1;
  color: #333;
  text-align: center;
  line-height: 60px;
}

.el-aside {
  background-color: #D3DCE6;
  color: #333;
  text-align: center;
  line-height: 200px;
}

.el-main {
  background-color: #E9EEF3;
  color: #333;
  text-align: center;
  line-height: 160px;
}

body > .el-container {
  margin-bottom: 40px;
}

.el-container:nth-child(5) .el-aside,
.el-container:nth-child(6) .el-aside {
  line-height: 260px;
}

.el-container:nth-child(7) .el-aside {
  line-height: 320px;
}
.el-container{
height: 758px;
}
.layin{
  color: forestgreen;
  font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
  font-size: 25px;
  margin-top: -40px;
}
.pic{
  position: absolute;
  margin-left: 750px;
}
</style>
